package com.tongfusoft.base.data.tsm;

import com.tongfusoft.web.core.annotation.LogDesc;
import com.tongfusoft.web.core.data.PrivilegeData;

@LogDesc(expression="priName",value="权限")
public class TsmPriviledge extends PrivilegeData {  
    /** 
	权限编号 
	*/  
	private String priId;  
	/** 
	权限代码 
	*/  
	private String priCode;  
	/** 
	权限名称 
	*/  
	private String priName;  
	/** 
	状态[0:无效,1:有效] 
	*/  
	private String status;  
  
    @Override  
    public String getPkName() {  
        return "priId";  
    }  
      
    @Override  
    public String getTableName(){  
        return "TSM_PRIVILEDGE";  
    }

	@Override
	public String getPrivilegeName() {
		// TODO Auto-generated method stub
		return this.getPriName();
	}
	
	public String getPriId() {
		return priId;
	}

	public void setPriId(String priId) {
		this.priId = priId;
	}

	public String getPriCode() {
		return priCode;
	}

	public void setPriCode(String priCode) {
		this.priCode = priCode;
	}

	public String getPriName() {
		return priName;
	}

	public void setPriName(String priName) {
		this.priName = priName;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}
 
}